﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebClasses.Pages;
using DomainModel;
using WebClasses.Extensions;

public partial class Admin_ModuleManage_EditModule : NormalPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            BindingTargetCategory();
            InitialPage();
        }
    }

    public int ModuleID
    {
        get
        {
            return this.GetParam("ID", true, false, 0);
        }
    }

    private void BindingTargetCategory()
    {
        ddlTarget.BindDataByEnumType(typeof(Target));
    }

    private void InitialPage()
    {
        int moduleId = this.ModuleID;
        if (moduleId == 0) return;

        //Module module = this.LogicController.AdminManager
        
    }
}
